package racer.client.gui.tiles;

import java.awt.image.BufferedImage;

//import racer.client.gui.*;

/**
 *
 * @author Lieven
 */
public class Tile {
	
	private String type;
	private BufferedImage image;

	// defines to which tiles the player can move to
	protected boolean up, down, left, right;
	
	public Tile(BufferedImage image, String type, boolean up, boolean down, boolean left, boolean right) {
		this.image = image;
		this.type = type;
		this.up = up;
		this.down = down;
		this.left = left;
		this.right = right;
	}

	public BufferedImage getImage() {
		return image;
	}

	public String getType() {
		return type;
	}

}
